<?php

namespace App\Notifications;

use Illuminate\Notifications\Messages\MailMessage;

class PasswordResetLink extends EmailVerification
{

    /**
     * Get the mail representation of the notification.
     *
     * @param  mixed $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage
     */
    public function toMail($notifiable)
    {
        return (new MailMessage())->markdown('emails.reset-password', [
            'token' => $this->token,
            'lifeTime' => $this->lifeTime
        ]);
    }

}
